public class Cat extends Animal{
    private String name;
    private String color;
    @Override
    public void move(){
        System.out.println("猫在四腿爬行");
    }
    @Override
    public void makeSound() {
        System.out.println("猫发出喵喵叫声");
    }

    public Cat(String name,String color) {
        this.name = name;
        this.color= color;
    }
}
